import request from '@/utils/request'

// 查询商品评价列表
export function listComment(query) {
    return request({
        url: '/product/comment/list',
        method: 'get',
        params: query
    })
}

// 新增商品评价
export function addComment(data) {
    return request({
        url: '/product/comment',
        method: 'post',
        data: data
    })
}
